package com.xfly.app.bean;

import java.io.Serializable;
import java.util.List;

public class MzBean {

    /**
     * id : 1
     * member_id : 1001
     * stime : 1567338164
     * etime : 1567339164
     * full : 1
     * goods : [{"title":"测试商品一","cover":"2","sale":6,"stock":996},{"title":"测试商品二","cover":"15","sale":1,"stock":0}]
     * gift_id : 3
     * gift : {"id":3,"member_id":1001,"title":"测试赠品","cover":"/public/uploads/20190814/6dd1cde069a12cbb7634eff084cfdaee.jpg","stock":100,"sort":0,"status":1,"create_time":1567520413}
     */

    private int id;
    private int member_id;
    private int stime;
    private int etime;
    private int full;
    private int gift_id;
    private GiftBean gift;
    private List<GoodsBean> goods;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public int getStime() {
        return stime;
    }

    public void setStime(int stime) {
        this.stime = stime;
    }

    public int getEtime() {
        return etime;
    }

    public void setEtime(int etime) {
        this.etime = etime;
    }

    public int getFull() {
        return full;
    }

    public void setFull(int full) {
        this.full = full;
    }

    public int getGift_id() {
        return gift_id;
    }

    public void setGift_id(int gift_id) {
        this.gift_id = gift_id;
    }

    public GiftBean getGift() {
        return gift;
    }

    public void setGift(GiftBean gift) {
        this.gift = gift;
    }

    public List<GoodsBean> getGoods() {
        return goods;
    }

    public void setGoods(List<GoodsBean> goods) {
        this.goods = goods;
    }

    public static class GiftBean implements Serializable {
        /**
         * id : 3
         * member_id : 1001
         * title : 测试赠品
         * cover : /public/uploads/20190814/6dd1cde069a12cbb7634eff084cfdaee.jpg
         * stock : 100
         * sort : 0
         * status : 1
         * create_time : 1567520413
         */

        private int id;
        private int member_id;
        private String title;
        private String cover;
        private int stock;
        private int sort;
        private int status;
        private int create_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMember_id() {
            return member_id;
        }

        public void setMember_id(int member_id) {
            this.member_id = member_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }
    }

    public static class GoodsBean implements Serializable {
        /**
         * title : 测试商品一
         * cover : 2
         * sale : 6
         * stock : 996
         */

        private String title;
        private String cover;
        private String price;
        private int sale;
        private int stock;

        public String getPrice() {
            return price;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public int getSale() {
            return sale;
        }

        public void setSale(int sale) {
            this.sale = sale;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }
    }
}
